package com.mux.springboot.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.annotation.PropertySources;
import org.springframework.core.env.Environment;

/**
 * 读取多个配置文件,并把他们的属性
 * @author devin.chen
 *如果是相同的key，则最后一个起作用  
 */
@Configuration
@PropertySources({
	@PropertySource("config/author.properties"),
	@PropertySource("config/param.properties")
})
public class MulProperties {
	@Autowired
	Environment evn;
}
